﻿package core.object {
	import flash.events.Event;
	import flash.filters.ColorMatrixFilter;
	import core.ColorMatrix;

    public class GameProp extends GameBall {

        private var _kind:int;
        private var matrix:ColorMatrix;
        private var whiteGlow:ColorMatrixFilter;

        public function GameProp(id:int = 1, kind:int = 1):void{
            this._kind = kind;
            this.matrix = new ColorMatrix();
            this.matrix.adjustBrightness(100);
            this.whiteGlow = new ColorMatrixFilter(this.matrix);
            this.mouseEnabled = false;
            this.mouseChildren = false;
			super(id);
        }
		
        private function show():void{
        }
		
        public function set kind(value:int):void{
            this._kind = value;
            this.show();
        }
		
        public function get kind():int{
            return this._kind;
        }
		
		override public function get isProp():Boolean {
			return true;
		}
    }
}
